package com.cloud.api.domain.stats;

import com.cloud.api.utils.ExcelUtils;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ExcelUtils.ExcelSheet(watermark = @ExcelUtils.Watermark(type = 0)
)
@Schema(description = "导出区域数据")
public class ArealExcel {

    @Schema(description = "行政区域")
    @ExcelUtils.ExcelExport(name = "table.field.administrative")
    private String administrative;

    @Schema(description = "车牌号")
    @ExcelUtils.ExcelExport(name = "table.field.licenseNumber",columnWidth = 18)
    private String licenseNumber;

    @Schema(description = "vin")
    @ExcelUtils.ExcelExport(name = "table.field.vin")
    private String vin;

    @Schema(description = "车型")
    @ExcelUtils.ExcelExport(name = "table.field.model")
    private String modelName;

    @Schema(description = "组织机构")
    @ExcelUtils.ExcelExport(name = "table.field.organization")
    private String deptName;

    @Schema(description = "定位时间")
    @ExcelUtils.ExcelExport(name = "table.field.opTime")
    private LocalDateTime opTime;

    @Schema(description = "位置信息")
    @ExcelUtils.ExcelExport(name = "table.field.address")
    private String address;
}
